package com.example.demo.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: FKJGFK
 * @Date: 2021/5/7 13:45
 * @Description:
 */
@Data
@Component
@ConfigurationProperties(prefix = "user")
public class User {

    private String id;

    private String name;

    private int age;
}
